package com.taotao.jdk01;

import com.taotao.mapper.UserMapper;

/**
 * @Author: wangjin
 * @CreateTime: 2022-08-06  18:32
 */
public class TaoTaoSqlSession {
    public static <T> T getMapper(Class<T> type) {
        return new MybatisJdkInvocationHandler(UserMapper.class).getProxy();
    }
}
